package com.hxb.example.service;

import org.springframework.ai.chat.model.ChatResponse;
import reactor.core.publisher.Flux;

public interface ChatModelService {

    String call(String message);

    Flux<ChatResponse> streamCall(String message);

    default String functionCall(String message) {
        return null;
    }

    default Flux<ChatResponse> functionStreamCall(String message) {
        return null;
    }
}
